package com.liusha.quicksand.dao.admin;


import com.liusha.quicksand.po.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 一世长安一世欢
 * @Date: 2020/10/19
 * @Time: 16:34
 * @Description: No Description
 */
public interface AdminRepository extends JpaRepository<Admin,Long> {

    Admin findByUsernameAndPassword(String username,String password);
}
